package com.briup.day04;

import java.util.Scanner;

/**
 * @author ThinkBook
 */
public class Test11_compare {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入两个数字（以XX XX的格式输入）：");
        int first = scanner.nextInt();
        int second = scanner.nextInt();
        // 条件判断 if
        if (first > second) {
            System.out.println("第一个数比第二个数大");
        }else if (first == second) {
            System.out.println("第一个数和第二个数大相等");
        }else {
            System.out.println("第一个数比第二个数小");
        }
    }
}
